package com.ruoyi.cinema.DTO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.cinema.domain.SchedulePromo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class SeatPlanYzDTO  implements Serializable {
    private static final long serialVersionUID = 1L;
   @JsonFormat(pattern = "yyyy-MM-dd")
   private Date effectiveDate;
   @JsonFormat(pattern = "yyyy-MM-dd")
   private Date ineffectiveDate;

   private String seatVersion;

   private List<SectionYZDTO> sectionList;


    public Date getEffectiveDate() {
        return effectiveDate;
    }

    public void setEffectiveDate(Date effectiveDate) {
        this.effectiveDate = effectiveDate;
    }

    public Date getIneffectiveDate() {
        return ineffectiveDate;
    }

    public void setIneffectiveDate(Date ineffectiveDate) {
        this.ineffectiveDate = ineffectiveDate;
    }

    public String getSeatVersion() {
        return seatVersion;
    }

    public void setSeatVersion(String seatVersion) {
        this.seatVersion = seatVersion;
    }

    public List<SectionYZDTO> getSectionList() {
        return sectionList;
    }

    public void setSectionList(List<SectionYZDTO> sectionList) {
        this.sectionList = sectionList;
    }


    @Override
    public String toString() {
        return "SeatPlanYzDTO{" +
                "effectiveDate=" + effectiveDate +
                ", ineffectiveDate=" + ineffectiveDate +
                ", seatVersion='" + seatVersion + '\'' +
                ", sectionList=" + sectionList +
                '}';
    }
}
